home *** CD-ROM | disk | FTP | other *** search
/ HamCall (October 1991) / HamCall (Whitehall Publishing)(1991).bin / netmac.sea / Autoexec.net < prev    next >
Text File  |  1989-04-23  |  5KB  |  162 lines

  1. # Macintosh-specific "autoexec.net" config. file
  2. #
  3. # When installing TCP for your node, be sure to replace all
  4. # occurrences of YOURCALL here with your callsign and all
  5. # occurrences of IPADDRESS with the IP address that was
  6. # assigned to you by your local IP Address Coordinator.
  7. # (You MUST have a distinct personal IP address for every
  8. # station you put on the air; if you don't know what this
  9. # means, ask others active on TCP how to get one.)
  10. #
  11. # Read Bdale's Documentation to understand this file better.
  12. #
  13. # Define who we are -- this must come first in this file:
  14. #
  15. hostname YOURCALL
  16. ax25 mycall YOURCALL
  17. #
  18. # Attach interfaces:
  19. # Syntax for a Macintosh using the modem port for AX25:
  20. # attach <hw type> <not used but needs to be here> <string version
  21. # of the port  ('a' or 'b')> <mode> <label> <bufsize> <mtu> <speed>
  22. #
  23. # The following typical attach command for the Mac says that you
  24. # will use an asynchronous port, specifically port 'a' (modem
  25. # port), talking to an "ax25" (i.e. KISS-based) TNC.  The name you
  26. # will use when running TCP to refer to this port is "ax0".  You
  27. # allow a maximum of 2048 bytes of buffer; packets are no more
  28. # than 256 bytes long.  You talk to the port at 9600 baud.
  29. #
  30. attach asy 1 a ax25 ax0 2048 256 9600
  31. #
  32. # The following describes the parameters for the AppleTalk driver.
  33. #
  34. # argv[0]: hardware type, must be "appletalk"
  35. # argv[1]: Protocol Type, e.g., "77"
  36. # argv[2]: device name,must be "b"
  37. # argv[3]: mode, must be "arpa"
  38. # argv[4]: interface label, e.g., "at0"
  39. # argv[5]: maximum number of packets allowed on receive queue, e.g., "5"
  40. # argv[6]: maximum transmission unit, bytes, e.g., "600" < appletalk limitation.
  41. #
  42. # attach appletalk 77 b arpa at0 5 600
  43. #
  44. # Insert your personal IP address in []'s:
  45. #
  46. ip addr [IPADDRESS]
  47. #
  48. # By default all packets will go out the "ax0" port:
  49. #
  50. route add default ax0
  51. #
  52. # The format is:  param <label> <hex value> <hex value> ...
  53. #
  54. # As an example, a TNC-1 with an old crystal transmitter that is
  55. # slow to key may need longer TXDELAY and TXTAIL values than the
  56. # defaults, e.g.:
  57. #
  58. param ax0 1 40
  59. param ax0 2 200
  60. param ax0 3 10
  61. param ax0 4 3
  62. param ax0 5 0
  63. #
  64. # Time To Live is the maximum number of hops a packet can take
  65. # before it is thrown away. This command prevents an infinite
  66. # loop from occuring with packets in the network.
  67. #
  68. ip ttl 16
  69. #
  70. # The Maximum Segment Size is the largest single transmission that
  71. # you will send. An mss of 216 corresponds to the mtu of 256 set
  72. # up in the attach command above, overhead bytes considered.
  73. #
  74. tcp mss 216
  75. #
  76. # The Window parameter establishes the maximum number of bytes
  77. # that may be outstanding before your system expects an ack. If
  78. # window is twice as big as mss, for example, there will be two
  79. # active packets on the channel at any given time... large values
  80. # of window provide improved throughput on full-duplex links, but
  81. # are a problem on the air.  Keep  mss <= window <= 2*mss if
  82. # you're on the air.
  83. #
  84. tcp window 432
  85. #
  86. # set round trip time to 5 seconds - the original documentation states
  87. # this value as seconds, when it should be milliseconds!
  88. #
  89. tcp irtt 5000
  90. #
  91. # Tell TCP where to keep a log file - note the leading ':' character.
  92. # The current directory prefix will be appended to the front of this entry.
  93. #
  94. log :spool:log
  95. #
  96. #
  97. # Tell TCP to start up each of its daemons:
  98. start smtp
  99. start ftp
  100. start echo
  101. start discard
  102. start telnet
  103. start finger
  104. #
  105. # smtp timer below sets the amount of time between attempts to send
  106. # messages in the queue.  The value of 180 (seconds) sets it to every 3 min.
  107. # commented out for now, once you are familiar with smtp, you may change
  108. # this to meet your local needs.  Three minutes is a good number if your station
  109. # is up 24hrs/day.  If not, adjust to more like 10 minutes (600 seconds)
  110. #
  111. #smtp timer 180   
  112. #
  113. # Set the escape character - this is required for the Mac 512/Plus
  114. # keyboards.  You may comment it out for the ADB keyboards.
  115. #
  116. escape `
  117. #
  118. # Set the local timezone and offset to GMT
  119. #
  120. tzone PST 0
  121. #
  122. # Setup mailbox function for AX25 connects
  123. #
  124. mbox y
  125. #
  126. # AX.25 CONFIGURATION:
  127. # The values in the following entries reflect default values.
  128. # These values come into play when you are operating in the  AX.25
  129. # mode, along with your "ax25 mycall" entry above. 
  130. #
  131. # Disable AX.25 digipeating, and let them eat cake:
  132. #
  133. ax25 digipeat on
  134. #
  135. # Set the max number of frames allowed to remain unacknowledged--
  136. # cannot be greater than 7, and 1 is a good number:
  137. #
  138. ax25 maxframe 1
  139. #
  140. # Limit the size of I=fields:
  141. #
  142. ax25 paclen 256
  143. #
  144. # Limit the number of unsuccessful retransmissions:
  145. #
  146. ax25 retry 6
  147. #
  148. # Set the number of bytes that can be pending on an AX.25 receive
  149. # queue:
  150. #
  151. ax25 window 4096
  152. #
  153. ax25 t1 15000
  154. ax25 t2 10000
  155. ax25 t3 180000
  156. #
  157. # Turn on the mheard command in tcp...
  158. #
  159. ax25 heard on
  160. #
  161. # End of net.start
  162.